using System;
using System.Data;

namespace Caramel
{
	public interface IUnitOfWorkFactory //: IFactory<IUnitOfWork>
	{
		IUnitOfWork Create(string name, IsolationLevel isolationLevel);

		IUnitOfWork CreateReadOnly(string name, IsolationLevel isolationLevel);
	}
}
